
#include"SeqList.h"

void test()
{
	SL sl;
	SL_Initialize(&sl);
	
	SL_Push_Back(&sl, 1);
	SL_Push_Back(&sl, 2);
	SL_Push_Back(&sl, 3);
	SL_Push_Back(&sl, 4);
	SL_Print(&sl);

	//SL_Push_Front(&sl, 5);
	//SL_Push_Front(&sl, 4);
	//SL_Push_Front(&sl, 3);
	//SL_Push_Front(&sl, 2);
	//SL_Push_Front(&sl, 1);
	//	
	//SL_Pop_Back(&sl);
	//SL_Pop_Back(&sl);
	//SL_Pop_Back(&sl);
	//SL_Pop_Back(&sl);
	//SL_Pop_Back(&sl);
	//
	//SL_Pop_Front(&sl);
	//SL_Pop_Front(&sl);
	//SL_Pop_Front(&sl);
	//SL_Pop_Front(&sl);
	//SL_Pop_Front(&sl);
	//
	//printf("%d", SL_Find(&sl, 3));
	//printf("%d", SL_Find(&sl, 33));
	//
	//SL_Insert(&sl, 1, 5);
	//SL_Print(&sl);
	//SL_Insert(&sl, 4, 6);
	//SL_Print(&sl);
	//SL_Insert(&sl, 8, 5);
	//SL_Print(&sl);
	//
	//SL_Erase(&sl, 8);
	//SL_Print(&sl);

}

int main()
{
	test();
	return 0;
}
